﻿<!DOCTYPE html>
<html>
<head>
<title>职务类型管理</title>
<meta charset="utf-8">
<meta name="keywords" content="短照中心-湘潭市康复养老中心;">
<meta name="description" content="短照中心-湘潭市康复养老中心;">
<link rel="stylesheet" rev="stylesheet" href="css/framepage.css" type="text/css" media="screen" />
<link rel="stylesheet" type="text/css" href="js/waitBox/wait.css">

<script src="js/vue.js"></script>
<script src="js/jquery-3.2.1.min.js"></script>
<script src="js/jquery.cookie.js"></script>
<script src="js/JSON-js-master/json2.js"></script>
<script src="js/waitBox/wait.js"></script>
</head>

<body style="background:rbg(216,216,216);">
<div class="form_div" id="vue_vm">
  <h3>新增职务</h3>
  <form>
    <ul>
      <li><span class="tit" style="width:42px;">名称：</span></li>
      <li><span>
        <input type="text" placeholder="请输入职务名称" v-model="data.dutyName" style="width:300px;"/>
        </span></li>
    </ul>
    <ul>
      <li><span　class="tit" style="width:70px;">类型：</span></li>
      <li><span style="display:block;position:absolute;top:12px;left:0;">
        <input class="magic-radio" type="radio" name="jwtype" v-model="data.type" id="j1" value="1"/>
        <label for="j1" class="label_txt" style="width:100px;">编制</label>
        </span></li>
      <li><span style="display:block;position:absolute;top:12px;left:80px;">
        <input class="magic-radio" type="radio" name="jwtype" v-model="data.type" id="j2" value="2"/>
        <label for="j2" class="label_txt" style="width:100px;">非编制</label>
        </span></li>
    </ul>
    <ul>
      <li><span class="tit" style="width:42px;"></span></li>
      <li>
        <input type="button" value="确认提交" class="button button1" onclick="save();" style="height:38px;"/>
      </li>
    </ul>
  </form>
</div>
<div style="clear:both;"></div>
<div class="list_div" id="vue_vm_list">
  <h3>已有职务</h3>
  <div style="margin:0;padding:0;" v-for="todo in todos">
      <ul>
        <li style="width:200px;"><span style="display:block;position:absolute;top:12px;left:0;">
          <input class="magic-checkbox" type="checkbox" v-bind:name="todo.dutyId" v-bind:id="todo.dutyId"/>
          <label v-bind:for="todo.dutyId" class="label_txt" style="color:#009688">{{todo.dutyName}}</label>
          </span></li>
        <li style="width:150px;margin-left:20px;"><span>{{todo.type=='1'? '编制': '非编制'}}</span></li>
      </ul>
  </div>
  
  <div class="for_ie_div"><!--为兼容IE-->
    <ul>
      <li style="width:160px;">
        <input type="button" value="删除" class="button button2" onclick="deleteBatch();" style="height:38px;"/>
      </li>
    </ul>
  </div>
</div>
<script src="js/common.js"></script>
<script src="js/common_function.js"></script> 
<script src="js/busi/duty.js"></script>
</body>
</html>